package contest1609;

import java.util.Collections;
import java.util.Vector;

public class VectorDemo {
    public static void main(String[] args) {
        int[] a = new int[]{1, 1, 6, 3, 3};
        Vector<Integer> v = new Vector<>();
        for (Integer i : a) {
            if (v.contains(i)) continue;
            v.add(i);
        }
        // v.remove(v.size()-1);
        Collections.sort(v);
        System.out.println(v);


    }
}
